<div id="<%=entity%>ListView" class="view">
  <% for(f : fields) {%>
  <div class="control-group">
    <label class="control-label" for="<%=f.name%>"><%=f.name%></label>
    <div class="controls">
      <input id="<%=entity%>.<%=f.name%>" name="<%=f.name%>" type="text" class="input" value="${data.<%=f.name%>}"/>
    </div>
  </div>
  <%}%>
</div>